﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Resources;
using System.Reflection;
using System.Threading;
using System.Globalization;

namespace HUA.BaseForm
{
    #region class BaseBlankForm
    /// <summary>
    /// 空白窗体,程序集中所有窗体都继承本窗体
    /// 20130923 Benny 创建
    /// </summary>
    public partial class BaseBlankForm : Form
    {
        #region Properties
        #region property CurrentLanguage
        private string _CurrentLanguage;
        /// <summary>
        /// 获取或设置当前语言
        /// </summary>
        public string CurrentLanguage
        {
            get;
            set;
        }
        #endregion
        #endregion
        #region Construct
        /// <summary>
        /// 构造函数
        /// </summary>
        public BaseBlankForm()
        {
            InitializeComponent();
        }
        #endregion
        #region Methods
        #region method GetMsgString
        /// <summary>
        /// 从资源文件中获取资源
        /// </summary>
        /// <param name="textid">控件的Text属性值</param>
        /// <returns>Text属性值对应的语言版本内容</returns>
        public string GetMsgString(string textid)
        {
            return "";
        }
        #endregion
        #region method SetLanguage
        /// <summary>
        /// 设置语言
        /// </summary>
        /// <param name="c"></param>
        public void SetLanguage(Control c)
        { 
        
        }
        #endregion
        #endregion
    }
    #endregion
}
